package com.guodu.service;

import java.util.List;

import com.guodu.entity.PurchaseBiddingPlanTwotz;
import com.guodu.entity.PurchasebiddingtwotzStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.PurchaseBiddingPlanTwotzQueryVo;
import com.guodu.vo.PurchaseBiddingPlanTwotzVo;

public interface PurchaseBiddingPlanTwotzService {

	PurchaseBiddingPlanTwotzVo findAllMoney(PurchaseBiddingPlanTwotzQueryVo pbpq,Units units);
	
	long findSizeByVo(PurchaseBiddingPlanTwotzQueryVo pbpq,Units units);

	public void examinAll(PurchaseBiddingPlanTwotzQueryVo pbpq,Units units);
	
	List<PurchaseBiddingPlanTwotzVo> findByVo(PurchaseBiddingPlanTwotzQueryVo pbpq, Units units, int curPage, int pageSize);

	void save(PurchaseBiddingPlanTwotz purchaseBiddingPlanTwotz);

	PurchaseBiddingPlanTwotz findById(String purchaseId);

	void update(PurchaseBiddingPlanTwotz purchaseBiddingPlanTwotz, Long status);

	void delByIds(String[] delIds);

	void examine(String ids, String rs, String beforeStatus, Long status,
			UserInfo user);

	List<PurchasebiddingtwotzStatus> findStatus(String purchaseId);

	List<PurchaseBiddingPlanTwotz> findAllByVo(
			PurchaseBiddingPlanTwotzQueryVo pbpq, Units attribute);

}
